<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0" />
	<title>-T--Mobile Đà Nẵng</title>
	<link rel="shortcut icon" type="image/x-icon" href="<?php echo get_template_directory_uri(); ?>/images/tmobile.ico" />
	<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/style.css" type="text/css" media="all" />
	<link href='http://fonts.googleapis.com/css?family=Coda' rel='stylesheet' type='text/css' />
	<link href='http://fonts.googleapis.com/css?family=Jura:400,500,600,300' rel='stylesheet' type='text/css' />

	<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.8.0.min.js" type="text/javascript"></script>
	<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.touchwipe.1.1.1.js" type="text/javascript"></script>
	<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.carouFredSel-5.5.0-packed.js" type="text/javascript"></script>
        <!--[if lt IE 9]>
		<script src="js/modernizr.custom.js"></script>
	<![endif]-->
	<script src="<?php echo get_template_directory_uri(); ?>/js/functions.js" type="text/javascript"></script>
       
        
</head>

	<!-- wrapper -->
	<div class="wrapper">
		<!-- header -->
		<header class="header">
			<div class="shell">
				<div class="header-top">
					<h1 id="logo"><a href="#">458 Trưng Nữ Vương TP. Đà Nẵng</a></h1>
                                  
					<nav id="navigation">
                                           
                                             <?php   wp_nav_menu(array('Main_menu' => __('Main menu'))); ?>
					</nav>
					<div class="cl">&nbsp;</div>
				</div>
				<div class="slider">
					<div id="bg"></div>
					<div id="carousel">
						<div>
							<h5>BlackBerry </h5>
							
                                                        <?php
                                                    global $post;
                                                    $args = array('numberposts'=>1, 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        
                                                    echo '<h3>';the_title(); echo'</h3>';
                                                    echo '<br>';
                                                    $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
                                                    echo '<img class="img-front" src="'.$url.'" alt="" style="height: 300px; width: auto;left: 500px;margin-left:-132px;"/>';
                                                    echo'<br>';
                                                    //echo'<p>'.  the_excerpt().'</p>';
                                                    echo '<a href="';  the_permalink(); echo'" class="green-btn">View more</a>';
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
                                                       
						</div>
                                            <div>
							<h5>BlackBerry </h5>
							
                                                        <?php
                                                    global $post;
                                                    $args = array('numberposts'=>1, 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        
                                                    echo '<h3>';the_title(); echo'</h3>';
                                                    echo '<br>';
                                                    $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
                                                    echo '<img class="img-front" src="'.$url.'" alt="" style="height: 300px; width: auto;left: 500px;margin-left:-132px;"/>';
                                                    echo'<br>';
                                                    //echo'<p>'.  the_excerpt().'</p>';
                                                    echo '<a href="';  the_permalink(); echo'" class="green-btn">View more</a>';
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
                                                       
						</div>
                                            <div>
							<h5>BlackBerry </h5>
							
                                                        <?php
                                                    global $post;
                                                    $args = array('numberposts'=>1, 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        
                                                    echo '<h3>';the_title(); echo'</h3>';
                                                    echo '<br>';
                                                    $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
                                                    
                                                    echo '<img class="img-front" src="'.$url.'" alt="" style="height: 300px; width: auto;left: 500px;margin-left:-132px;"/>';
                                                    echo'<br>';
                                                    //echo'<p>'.  the_excerpt().'</p>';
                                                    echo '<a href="';  the_permalink(); echo'" class="green-btn">View more</a>';
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
                                                       
						</div>
                                            <div>
							<h5>BlackBerry </h5>
							
                                                        <?php
                                                    global $post;
                                                    $args = array('numberposts'=>1, 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        
                                                    echo '<h3>';the_title(); echo'</h3>';
                                                    echo '<br>';
                                                    $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
                                                    echo '<img class="img-front" src="'.$url.'" alt="" style="height: 300px; width: auto;left: 500px;margin-left:-132px;"/>';
                                                    echo'<br>';
                                                    //echo'<p>'.  the_excerpt().'</p>';
                                                    echo '<a href="';  the_permalink(); echo'" class="green-btn">View more</a>';
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
                                                       
						</div>


					</div>
					<div class="pagination"></div>
					<a id="prev" href="#"></a>
					<a id="next" href="#"></a>
				</div>
			</div>
		</header>
                
		<!-- end of header -->